/*如果想切换其他数据源，请修改MainModule.class里面的@IocBy的部分*/
var ioc = {
	/* mysql数据源定义 */
	dataSource : {
		type : 'com.alibaba.druid.pool.DruidDataSource',
		events : {
			depose : 'close'
		},
		fields : {
			driverClassName : 'com.mysql.jdbc.Driver',
			url : 'jdbc:mysql://localhost:3306/nutzdb?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull',
			username : 'root',
			password : '',
			validationQuery : 'SELECT 1',
			initialSize : 0,
			maxActive : 20,
			minIdle : 0,
			maxWait : 60000,
			testOnBorrow : false,
			testOnReturn : false,
			testWhileIdle : true,
			timeBetweenEvictionRunsMillis : 60000,
			minEvictableIdleTimeMillis : 25200000,
			removeAbandoned : true,
			removeAbandonedTimeout : 1800,
			logAbandoned : true,
			filters : 'stat'
		}
	}
};